package ph.com.gs3.formalistics.model.vo.formcontent;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import ph.com.gs3.formalistics.model.vo.business.form.FormViewContentData;
import ph.com.gs3.formalistics.model.vo.view.ViewColumn;

public class EmbeddedViewData extends FormViewContentData implements Serializable {

	private static final long serialVersionUID = -8689339287105541046L;

	private int searchFormId;
	private String searchFieldId;
	private String searchConditionalOperator;
	private String searchCompareToThisDocumentFieldId;

	private List<ViewColumn> viewColumns = new ArrayList<>();

	private boolean enableCreateDocumentAction;
	private String createDocumentActionLabel;

	
	
	// =========================================================================
	// {{ Getters & Setters

	public int getSearchFormId() {
		return searchFormId;
	}

	public void setSearchFormId(int searchFormId) {
		this.searchFormId = searchFormId;
	}

	public String getSearchFieldId() {
		return searchFieldId;
	}

	public void setSearchFieldId(String searchFieldId) {
		this.searchFieldId = searchFieldId;
	}

	public String getSearchConditionalOperator() {
		return searchConditionalOperator;
	}

	public void setSearchConditionalOperator(String searchConditionalOperator) {
		this.searchConditionalOperator = searchConditionalOperator;
	}

	public String getSearchCompareToThisDocumentFieldId() {
		return searchCompareToThisDocumentFieldId;
	}

	public void setSearchCompareToThisDocumentFieldId(String searchCompareToFieldId) {
		this.searchCompareToThisDocumentFieldId = searchCompareToFieldId;
	}

	public List<ViewColumn> getViewColumns() {
		return viewColumns;
	}

	public void setViewColumns(List<ViewColumn> viewColumns) {
		this.viewColumns = viewColumns;
	}

	public boolean isEnableCreateDocumentAction() {
		return enableCreateDocumentAction;
	}

	public void setEnableCreateDocumentAction(boolean enableCreateDocumentAction) {
		this.enableCreateDocumentAction = enableCreateDocumentAction;
	}

	public String getCreateDocumentActionLabel() {
		return createDocumentActionLabel;
	}

	public void setCreateDocumentActionLabel(String createDocumentActionLabel) {
		this.createDocumentActionLabel = createDocumentActionLabel;
	}

	// }}
}
